package com.lcredu.aop.xml;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author 黎长容
 * @date 2025-07-15 19:47
 */
public class SmartAnimalAspectXMLTest {
    public static void main(String[] args) {
        ApplicationContext ioc
                = new ClassPathXmlApplicationContext("beans09.xml");
        SmartAnimal bean = ioc.getBean(SmartAnimal.class);
        bean.getSum(5, 9);
    }
}
